package com.settlement.system.model.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

import com.alibaba.excel.annotation.ExcelProperty;

/**
* <p>
* 京东订单导入VO
* </p>
*
* @author huangrensen
* @since 2024-04-13
*/
@Schema
@Data
public class JdOrderImportVo implements Serializable {
    @ExcelProperty(value = "网店交易号")
    private String orderNo;
    @ExcelProperty(value = "订单状态")
    private String orderStatus;
    @ExcelProperty(value = "支付状态")
    private String payStatus;
    @ExcelProperty(value = "下单时间")
    private String orderTime;
    @ExcelProperty(value = "付款时间")
    private String payTime;
    @ExcelProperty(value = "发退货时间")
    private String sendTime;
    @ExcelProperty(value = "出库时间")
    private String outboundTime;
    @ExcelProperty(value = "数量")
    private String quantity;
    @ExcelProperty(value = "实付金额")
    private String payAmount;
    @ExcelProperty(value = "退货数量")
    private String returnQty;
    @ExcelProperty(value = "退货金额")
    private String returnAmount;
    @ExcelProperty(value = "")
    private String createBy;
    @ExcelProperty(value = "")
    private String updateBy;
    @ExcelProperty(value = "所属平台")
    private String platform;
    @ExcelProperty(value = "店铺ID")
    private String storeId;

    public static Map<String, String> getKeyMap(){
        Map<String, String> map = new HashMap<>();
        map.put("网店交易号", "orderNo");
        map.put("订单状态", "orderStatus");
        map.put("支付状态", "payStatus");
        map.put("下单时间", "orderTime");
        map.put("付款时间", "payTime");
        map.put("发退货时间", "sendTime");
        map.put("出库时间", "outboundTime");
        map.put("数量", "quantity");
        map.put("实付金额", "payAmount");
        map.put("退货数量", "returnQty");
        map.put("退货金额", "returnAmount");
        return map;
    }
}
